/*
 * GraphicEngine.h
 *
 *  Created on: 29 nov. 2012
 *      Author: johan
 */

#ifndef GRAPHICENGINE_H_
#define GRAPHICENGINE_H_

#include "Singleton.h"

namespace ge {

	class LayerMan;
	class OGLWin;

	class GraphicEngine: public Singleton<GraphicEngine> {
		friend class Singleton<GraphicEngine> ;

	private:

		LayerMan *layerManager;
		OGLWin *window;

	public:

	private:

		GraphicEngine();

		virtual ~GraphicEngine();

	public:
		void loadAllTextures();
		void render();
		void resizeWin(int w, int h);
	};

} /* namespace ge */
#endif /* GRAPHICENGINE_H_ */
